package com.ouheng.shop.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.ouheng.shop.dao.AxImageDao;
import com.ouheng.shop.domain.AxImageDO;
import com.ouheng.shop.service.AxImageService;



@Service
public class AxImageServiceImpl implements AxImageService {
	@Autowired
	private AxImageDao axImageDao;
	
	@Override
	public AxImageDO get(Long id){
		return axImageDao.get(id);
	}
	
	@Override
	public List<AxImageDO> list(Map<String, Object> map){
		return axImageDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return axImageDao.count(map);
	}
	
	@Override
	public int save(AxImageDO axImage){
		return axImageDao.save(axImage);
	}
	
	@Override
	public int update(AxImageDO axImage){
		return axImageDao.update(axImage);
	}
	
	@Override
	public int remove(Long id){
		return axImageDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return axImageDao.batchRemove(ids);
	}
	
}
